<div style="overflow-y:scroll;position:absolute;top:0;left:0;width:100%;height:100%;z-index:100000;display:none" id="tplPreview">
    <style>
        .container {
            box-shadow:0 1px 3px rgba(34,25,25,.4);
            background-color:#fff;
        }
        .download-box {
            position:fixed;
            width:176px;
            height: 30px;
            right:24px;
            top:12px;
        }
        .download-box .btn {
            width:80px;
            height:30px;
            background-color:#3BAFDA;
            color:#fff;
            line-height:30px;
            border:none;
            box-shadow:0 1px 3px rgba(34,25,25,.4);
            border-radius:3px;
        }
        .download-box .close-btn {
            margin-left:10px;
            background-color:#fdfcfc;
            border:1px solid #a2a0a0;
            color:#999;
        }
        .download-box .btn:hover {
            opacity:0.9;
        }
    </style>
    <div class="download-box">
        <button class="btn" id="download-template">下载</button>
        <button class="btn close-btn" id="close-preview-template">关闭</button>
    </div>
    <div id="mask" style="position:absolute;top:0;left:0;width:100%;height:200%;z-index:-1;background-color:#edece9;opacity:0.99"><div>
</div>